package guoanmaker.operator.business.model;

import java.util.Date;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="t_operator_department")
public class OperatorDepartment extends IdEntity{
	@Column(name="depname")
	private String depname;
	@Column(name="create_userid")
	private String createUserid;
	@DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss") 
	@Column(name="create_date")
	private Date createDate;
	@Column(name="status")
	private int  status;
	@Column(name="create_user")
	private String createUser;
	
	

}
